<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('VIP等级')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="vipList" item="vo"}
                <label for="row[id]-{$key}"><input id="row[id]-{$key}" name="vip_id" type="radio" value="{$vo.id}" {in name="$user.level" value="$vo.level"}checked{/in} /> {$vo.name}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <input name="user_id" value="{$user.id}" class="hidden">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
